<nav class="nav nav-tabs nav-stacked">
    <a class="nav-link {{ active_class(if_route('site.site.index')) }}" href="{{ route('site.site.index') }}"><i
            class="fa fa-home " aria-hidden="true"></i></a>
    <a class="nav-link {{ active_class(if_route('site.admin.index')) }}"
       href="{{ route('site.admin.index',$site) }}">管理员列表</a>
    @if(if_route('site.admin.role'))
        <a href="{{route('site.admin.role',[$site,$user])}}" class="nav-link {{active_class(if_route('site.admin.role'))}}" >设置角色</a>
    @endif

</nav>
